package com.xm.service.impl;

import com.xm.mapper.FlowDailyReportMapper;
import com.xm.pojo.FlowDailyReport;
import com.xm.service.FlowDailyReportService;
import com.xm.util.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by wzl on 2018/4/9.
 */
@Service
public class FlowDailyReportServiceImpl extends BaseServiceImpl<FlowDailyReport,FlowDailyReportMapper> implements FlowDailyReportService {
    @Resource(name="flowDailyReportMapper")
    @Override
    public void setDao(FlowDailyReportMapper mapper){this.mapper=mapper;}

    @Override
    public List<FlowDailyReport> selectFlowMonthReportPage(FlowDailyReport flowDailyReport) {
        return mapper.selectFlowMonthReportPage(flowDailyReport);
    }

    @Override
    public int queryMonthTotal(FlowDailyReport flowDailyReport) {
        return mapper.queryMonthTotal(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectDeviceMonthList(FlowDailyReport flowDailyReport) {
        return mapper.selectDeviceMonthList(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectFlowMonthReportList(FlowDailyReport flowDailyReport) {
        return mapper.selectFlowMonthReportList(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectFlowDailyReportChart(FlowDailyReport flowDailyReport) {
        return mapper.selectFlowDailyReportChart(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectFlowMonthReportChart(FlowDailyReport flowDailyReport) {
        return mapper.selectFlowMonthReportChart(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectDailyExcel(FlowDailyReport flowDailyReport) {
        return mapper.selectDailyExcel(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectDeviceDailyExcel(FlowDailyReport flowDailyReport) {
        return mapper.selectDeviceDailyExcel(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectMonthExcelList(FlowDailyReport flowDailyReport) {
        return mapper.selectMonthExcelList(flowDailyReport);
    }

    @Override
    public int queryDeviceFlowTotal(FlowDailyReport flowDailyReport) {
        return mapper.queryDeviceFlowTotal(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectDevicePageList(FlowDailyReport flowDailyReport) {
        return mapper.selectDevicePageList(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectUserDevicePage(FlowDailyReport flowDailyReport) {
        return mapper.selectUserDevicePage(flowDailyReport);
    }

    @Override
    public List<FlowDailyReport> selectUserDeviceList(FlowDailyReport flowDailyReport) {
        return mapper.selectUserDeviceList(flowDailyReport);
    }
}
